﻿Namespace Aricie.DNN.Services.Url.FriendlyUrl.Controls.GroupEntities

    <Serializable()> _
    Public Class UIGroup
        Public Property Name As String = String.Empty
        Public Property Tooltip As String = String.Empty
        Public Property Type As String = String.Empty
        Public Property ExtendedType As String = String.Empty

        Public ReadOnly Property Classification As String
            Get
                If ExtendedType Is Nothing Then
                    ExtendedType = String.Empty
                End If
                Return String.Format("{0} {1}", Type, ExtendedType.Replace(" ", "_"))
            End Get
        End Property
    End Class

    <Serializable()> _
    Public Class UIIndexedGroup
        Public Property Position As Integer
        Public Property UIG As UIGroup
    End Class

End Namespace